package stark.app.function.beat;

import stark.app.R;
import stark.app.base.BaseWithFragmentActivity;
import stark.app.databinding.ActivityBeatDemoBinding;
import stark.common.basic.base.BaseNoModelActivity;

/**
 * Author：daizhongbin on 2023/6/12
 * Email：1027154338@qq.com
 * Desc:
 */
public class BeatDemoActivity extends BaseNoModelActivity<ActivityBeatDemoBinding> {

    @Override
    protected int onCreate() {
        return R.layout.activity_beat_demo;
    }

    @Override
    protected void initView() {
        mDataBinding.btnBeater.setOnClickListener(v -> {
            BaseWithFragmentActivity.start(this, "节拍器", BeaterFragment.class);
        });
        mDataBinding.btnBeatTrain.setOnClickListener(v -> {
            BaseWithFragmentActivity.start(this, "节拍训练", BeatTrainFragment.class);
        });
    }

    @Override
    protected void initData() {

    }
}
